#include "HeadFile.h"

int main()
{
	
	unsigned time = GetTickCount64();
	const int time_per_frame = 1000 / 5;
	while (true)
	{
		unsigned int t = GetTickCount64() - time;
		if (t > time_per_frame)
		{
			time = GetTickCount64() - (t - time_per_frame);
			WindowControl::Instance()->Show();
			WindowControl::Instance()->Update();
		}
		else
			Sleep(1);
	}
}